package cn.openea.perpartner.payment.web.coupon.service;

import cn.openea.perpartner.common.core.web.domain.AjaxResult;
import cn.openea.perpartner.payment.web.coupon.entity.Coupon;
import cn.openea.perpartner.payment.web.coupon.entity.dto.CouponDto;
import com.github.yulichang.base.MPJBaseService;

import java.util.List;

/**
 * 用户优惠券表(CouponUser)表服务接口
 *
 * @author Weird077
 * @since 2023-04-14 14:29:50
 */
public interface ICouponService extends MPJBaseService<Coupon> {


    boolean issueCoupon(Coupon coupon);

    List<CouponDto> selectUserCouponList(CouponDto coupon);

    AjaxResult getCouponCount(Coupon coupon);
    void updateCouponStatus();
}

